aead-gcm-stream
Pure Rust implementaion of AES GCM cipher for data streams.
use AesGcm;
use Aes128;
let mut cipher = new;
cipher.init;
cipher.encrypt;
let tag = cipher.final;
Pure Rust implementaion of AES GCM cipher for data streams.
use aead_gcm_stream::AesGcm;
use aes::Aes128;
let mut cipher = AesGcm::<Aes128>::new(&key);
cipher.init(nonce);
cipher.encrypt(&mut data);
let tag = cipher.final();